home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8004 / 8004.xpi / content / prefs.xul.original < prev   
Extensible Markup Language  |  2010-01-30  |  4KB  |  90 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3.  
  4. <!-- ***** BEGIN LICENSE BLOCK *****
  5.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  6.    -
  7.    - The contents of this file are subject to the Mozilla Public License Version
  8.    - 1.1 (the "License"); you may not use this file except in compliance with
  9.    - the License. You may obtain a copy of the License at
  10.    - http://www.mozilla.org/MPL/
  11.    -
  12.    - Software distributed under the License is distributed on an "AS IS" basis,
  13.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  14.    - for the specific language governing rights and limitations under the
  15.    - License.
  16.    -
  17.    - The Original Code is Chromatabs.
  18.    -
  19.    - The Initial Developer of the Original Code is Mozilla.
  20.    - Portions created by the Initial Developer are Copyright (C) 2006
  21.    - the Initial Developer. All Rights Reserved.
  22.    -
  23.    - Contributor(s):
  24.    -  Justin Dolske <dolske@mozilla.com> (Original Author)
  25.    -
  26.    - Alternatively, the contents of this file may be used under the terms of
  27.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  28.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  29.    - in which case the provisions of the GPL or the LGPL are applicable instead
  30.    - of those above. If you wish to allow use of your version of this file only
  31.    - under the terms of either the GPL or the LGPL, and not to allow others to
  32.    - use your version of this file under the terms of the MPL, indicate your
  33.    - decision by deleting the provisions above and replace them with the notice
  34.    - and other provisions required by the LGPL or the GPL. If you do not delete
  35.    - the provisions above, a recipient may use your version of this file under
  36.    - the terms of any one of the MPL, the GPL or the LGPL.
  37.    -
  38.    - ***** END LICENSE BLOCK ***** -->
  39.  
  40. <prefwindow id="chromatabs-options-dialog"
  41.     type="prefwindow"
  42.     title="Chromatabs - Options"
  43.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  44.  
  45.     <prefpane id="prefs_general" label="Tab Coloring" image="chrome://chromatabs/skin/chromatabs-icon.png">
  46.         <preferences>
  47.             <preference id="opacityFG" name="extensions.chromatabs.opacity.focusedTab"     type="int"/>
  48.             <preference id="opacityBG" name="extensions.chromatabs.opacity.backgroundTabs" type="int"/>
  49.             <preference id="colorSat"  name="extensions.chromatabs.color.saturation" type="int"/>
  50.             <preference id="colorLum"  name="extensions.chromatabs.color.luminance"  type="int"/>
  51.             <preference id="colorMode" name="extensions.chromatabs.colorMode"  type="string"/>
  52.             <preference id="hashFallback"  name="extensions.chromatabs.hashFallback"  type="bool"/>
  53.         </preferences>
  54.  
  55.         <radiogroup preference="colorMode">
  56.             <radio label="Pick a color unique to site name." value="hash"/>
  57.             <radio label="Use average color from site icon." value="icon-average"/>
  58.             <radio label="Use most frequent color from site icon." value="icon-frequency"/>
  59.         </radiogroup>
  60.         <groupbox>
  61.             <caption label="Generated Color"/>
  62.  
  63.             <hbox align="center">
  64.                 <label value="Foreground tab opacity: "/>
  65.                 <textbox preference="opacityFG" size="3" maxlength="3"/>
  66.                 <label value="%"/>
  67.             </hbox>
  68.  
  69.             <hbox align="center">
  70.                 <label value="Background tab opacity: "/>
  71.                 <textbox preference="opacityBG" size="3" maxlength="3"/>
  72.                 <label value="%"/>
  73.             </hbox>
  74.  
  75.             <hbox align="center">
  76.                 <label value="Color saturation: "/>
  77.                 <textbox preference="colorSat" size="3" maxlength="3"/>
  78.                 <label value="%"/>
  79.             </hbox>
  80.  
  81.             <hbox align="center">
  82.                 <label value="Color luminosity: "/>
  83.                 <textbox preference="colorLum" size="3" maxlength="3"/>
  84.                 <label value="%"/>
  85.             </hbox>
  86.         </groupbox>
  87.  
  88.     </prefpane>
  89. </prefwindow>
  90.